package calcSrc;

public class NIMCruncher {
	
	/** 
	 * These methods are to crunch the amounts of ores into minerals, and to
	 * keep track of the remaining amounts of ore to be saved in the station's
	 * left-overs pile. 
	**/
	
	public static void veldCrunch(double myVeld) {
		
	}
	public static void scordCrunch(double myScord) {
		
	}
	public static void plagCrunch(double myPlag) {
		
	}
	public static void pyroCrunch(double myPyro) {
		
	}
	public static void omberCrunch(double myOmber) {
		
	}
	public static void kernCrunch(double myKern) {
		
	}
	public static void jaspCrunch(double myJasp) {
		
	}
	public static void hemoCrunch(double myHemo) {
		
	}
	public static void hedbCrunch(double myHedb) {
		
	}
	public static void gneiCrunch(double myGnei) {
		
	}
	public static void dochCrunch(double myDoch) {
		
	}
	public static void spodCrunch(double mySpod) {
		
	}
	public static void crokCrunch(double myCrok) {
		
	}
	public static void bistCrunch(double myBist) {
		
	}
	public static void arkoCrunch(double myArko) {
		
	}
	public static void mercCrunch(double myMerc) {
		
	}
	public static void payCrunch(double tritP, double pyerP, double mexaP, double isogP, double nocxP, double zydrP, double megaP, double morphP) {
		if (isHauler==false) {
			pay = tritP*trit + pyerP*pyer + mexaP*mexa + isogP*isog + nocxP*nocx + zydrP*zydr + megaP*mega + morphP*morph;
		}
		else {
			pay = .80*(tritP*trit + pyerP*pyer + mexaP*mexa + isogP*isog + nocxP*nocx + zydrP*zydr + megaP*mega + morphP*morph);
			hPay = .20*(tritP*trit + pyerP*pyer + mexaP*mexa + isogP*isog + nocxP*nocx + zydrP*zydr + megaP*mega + morphP*morph);
		}
	}
	
	
	private static double totalVeld = 0;
	private static double totalScord = 0;
	private static double totalPlag = 0;
	private static double totalPyro = 0;
	private static double totalOmber = 0;
	private static double totalKern = 0;
	private static double totalJasp = 0;
	private static double totalHemo = 0;
	private static double totalHedb = 0;
	private static double totalGnei = 0;
	private static double totalDoch = 0;
	private static double totalSpod = 0;
	private static double totalCrok = 0;
	private static double totalBist = 0;
	private static double totalArko = 0;
	private static double totalMerc = 0;
	private static double trit = 0;
	private static double pyer = 0;
	private static double mexa = 0;
	private static double isog = 0;
	private static double nocx = 0;
	private static double zydr = 0;
	private static double mega = 0;
	private static double morph = 0;
	private static double pay = 0;
	private static double hPay = 0;
	private static boolean isHauler = false;

}
